﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.CMS.Plugins;
using MethodWorx.CMS.Configuration;

namespace MethodWorx.CMS.Plugins.Configuration
{
    public class HtmlPropertyConfiguration : IPropertyConfiguration
    {
        #region IPropertyConfiguration Members

        public Type GetDetailsType()
        {
            return typeof(HtmlPropertyDetails);
        }

        public string Name
        {
            get { return "Html"; }
        }
        

        #endregion


        public AssemblyResourceReference GetPropertyEditorControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/HtmlPropertyEditor.ascx");
        }


        public AssemblyResourceReference GetPropertyControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/HtmlProperty.ascx");
        }
    }
}
